﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class TitleObject : JsonObject
    {
        public static implicit operator TitleObject(string text)
        {
            return new TitleObject(text);
        }

        public string Text
        {
            get { return (string)this["text"]; }
            set { this["text"] = value; }
        }

        public TitleObject()
        {
            
        }

        public TitleObject(string text)
        {
            Text = text;
        }
    }
}
